package br.com.guiav6.sisguia.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import br.com.guiav6.sisguia.dao.BairroDao;
import br.com.guiav6.sisguia.entity.Bairro;
import br.com.guiav6.sisguia.service.BairroService;

@Service("bairroService")
public class BairroServiceImpl implements BairroService {
	
	@Autowired(required = true)
	private BairroDao bairroDao;

	@Override
	public Bairro findById(Long id) {
		return bairroDao.findById(id);
	}

}